<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<form method="post" class="form-horizontal  margin-top-20" action="{:url('AdminOrder/orderAddPost')}">

			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>商户管理员登录账户</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-user_login" name="user_login" required lay-verify="required">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_pass" class="col-sm-2 control-label"><span class="form-required">*</span>商户管理员登录{:lang('PASSWORD')}</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-user_pass" name="user_pass" placeholder="请输入密码" required lay-verify="required">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_login" class="col-sm-2 control-label"><span class="form-required">*</span>管理员姓名</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-user_nickname" name="user_nickname" required lay-verify="required">
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_pass" class="col-sm-2 control-label"><span class="form-required">*</span>{:lang('TENANT')}管理员类型</label>
				<div class="col-md-6 col-sm-10">
					<input type="radio"  id="input-tenant_type" name="tenant_type" value='1' checked>{:lang('TENANT_ADMIN_1')}<!--分管员没有权限添加管理员-->
				</div>
			</div>
			<div class="form-group">
				<label for="input-user_email" class="col-sm-2 control-label"><span class="form-required">*</span>{:lang('EMAIL')}</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-user_email" name="user_email" required lay-verify="required">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" class="form-control" id="input-order_id" name="order_id" value="{$id}">

					<button type="submit" class="btn btn-primary js-ajax-submit" onclick="showWait()">添加账号并通过审核</button>
				</div>
			</div>
		</form>
			
	</div>
	<script src="__STATIC__/js/admin.js"></script>
	<script>
		function showWait(){
			
			layui.use('layer', function(){
				var layer = layui.layer;
				
				layer.msg('系统生成二维码中，请耐心等待',{
					time: 5000
				});
				
			});
			}  
			
	</script>
</body>
</html>